home *** CD-ROM | disk | FTP | other *** search
/ HPAVC / HPAVC CD-ROM.iso / PPC1B3AA.ZIP / TIMER.PPS < prev    next >
Text File  |  1996-08-29  |  633b  |  21 lines

  1. ;----------------------------------------------------------------------------
  2. ; Copyright(C) 1996, The AEGiS Corporation
  3. ;----------------------------------------------------------------------------
  4. ;
  5. ; FUNCTION Timer()
  6. ;
  7. ; Returns the number of clock ticks since midnight
  8. ; Very usefull for accurate timing routines (for games for example)
  9. ;
  10. ;----------------------------------------------------------------------------
  11. #lib
  12. #nouser
  13.  
  14. Declare Function Timer() DWord
  15.  
  16. ;----------------------------------------------------------------------------
  17. Function Timer() DWord
  18. Timer = PeekDW(MKADDR(0040h,006Ch))
  19. Endfunc
  20.  
  21.